package model

import (
	"strings"
)

func MakeSuffix(suffix string) func(string) string {
	return func(imgName string) string {
		if strings.HasSuffix(imgName, suffix) {
			return imgName
		}
		return imgName + suffix
	}
}
